package com.touch.workshop.ui.expgrowth;
import java.awt.event.*;

import com.touch.workshop.ui.Controls;
public final class CurveMenuEvents implements ActionListener
{

	public void actionPerformed(ActionEvent e) 
	{
		final String action = e.getActionCommand();
		if(action.equals("Close"))
			CurveControls.EXP_CURVE.setVisible(false);
		else if(action.equals("Values"))
			CurveControls.EXP_CHART.setVisible(true);
		else if(action.equals("Scale"))
			CurveControls.EXP_SCALE.setVisible(true);
		else if(action.equals("Level Limits"))
			Controls.LEVE_LIMIT.setVisible(true);
		else
			System.out.println("//TODO: Implement action: " + action);
	}

}
